<form action="entities/create/{$project->id}/" method="post" enctype="multipart/form-data">
  <input type="hidden" name="project_id" value="{$project->id}" />

  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <h3>Create Entity</h3>
  </div>

  <div class="modal-body">


    <div class="control-group">
      <label for="plural">Plural Name *</label>
      <input class="input-xlarge" name="plural" type="text" id="plural" value="" required="required" />
    </div>

    <div class="control-group">
      <label for="singular">Singular Name *</label>
      <input class="input-xlarge" name="singular" type="text" id="singular" value="" required="required" />
    </div>

    <div class="control-group">
      <label for="description">Description</label>
      <textarea  name="description" id="description" cols="45" rows="5" class="input-xlarge"></textarea>
    </div>

  </div>
  <!-- .modal-body -->

  <div class="modal-footer">
    <button class="btn" data-dismiss="modal" type="button">Cancel</button>
    <button class="btn btn-primary" type="submit">Create</button>
  </div>

</form>
